package com.ruoyi.goods.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.SysDept;

import java.util.List;

public class Brand extends BaseEntity {

    //  id
    private int id;

    //  中文名称
    private String name;

    // 英文名称
    private String englishName;

    // 代号
    private String code;

    // 排序
    private int sort;

    private int status;

    private int deptId;

    private SysDept dept;

    private List<BrandPerson> brandPersonList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public SysDept getDept() {
        return dept;
    }

    public void setDept(SysDept dept) {
        this.dept = dept;
    }

    public List<BrandPerson> getBrandPersonList() {
        return brandPersonList;
    }

    public void setBrandPersonList(List<BrandPerson> brandPersonList) {
        this.brandPersonList = brandPersonList;
    }

    @Override
    public String toString() {
        return "Brand{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", englishName='" + englishName + '\'' +
                ", code='" + code + '\'' +
                ", sort=" + sort +
                ", status=" + status +
                ", deptId=" + deptId +
                ", dept=" + dept +
                ", brandPersonList=" + brandPersonList +
                '}';
    }
}
